import request from '@/utils/request'
// --------  消息通知 --------

let BASE_ADDRESS = '/base/message'

//  分页查询
export const getMessageListApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}
//  添加
export const getMessageAddApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: "post",
        data
    })
}
// 修改
export const getMessageEditApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: "put",
        data
    })
}